<?php
namespace App\Domain\Lendlist;

use Illuminate\Support\ServiceProvider;

class LendlistServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->bind(
            'App\Domain\Lendlist\Service\LendlistService',
            'App\Domain\Lendlist\Service\LendlistServiceImpl'
        );
        $this->app->singleton('lendlistService', function () {
            return $this->app->make('App\Domain\Lendlist\Service\LendlistService');
        });
    }
}
